#ifndef HPLC_QINFINE_DETECTOR_SENDPACKET_H
#define HPLC_QINFINE_DETECTOR_SENDPACKET_H

#include <QObject>
#include "common/sendcommonpacket.h"

namespace hplc
{
namespace qinfine
{

class DetectorProtocolData;
class DetectorSendPacket : public hplc::qinfine::SendCommonPacket
{
public:
    DetectorSendPacket(DetectorProtocolData &data, QObject *parent = nullptr);
    virtual ~DetectorSendPacket() override;

    void setWave(quint16 wave);
    void getWave();
    void setWave2(quint16 wave);
    void getWave2();
    void setTimeConst(quint8 timeConstIndex);
    void getTimeConst();
    void setRange(quint8 range);
    void getRange();
    void setLampType(quint8 flag);
    void getLampType();
    void setChannel(quint8 channel);
    void getChannel();
    void setLamp(quint8 flag);
    void getLamp();
    void setZero(quint8 flag);
    void setHome(quint8 flag);
    void getHome();
    void setAuUploadFreq(quint8 factor);
    void getAuUploadFreq();
    void getAu();
    void getWaveRefSam();
    void getWave2RefSam();
    void setScanCMD(quint8 cmd);
    void getScanCMD();
    void setScanPara(quint16 waveStart, quint16 waveStop, quint8 speed);
    void getScanPara();
    //void setLampUsedTime(quint32 time);
    void getLampUsedTime();
    void setStartStop(quint8 flag);
    void getStartStop();
};

} // qinfine
} // hplc

#endif // HPLC_QINFINE_DETECTOR_SENDPACKET_H
